package com.topisv.tms.repository.stock.reverse;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import com.topisv.tms.entity.stock.reverse.ReverseBill;

/**
 * 冲正单_dao
 * @author ch
 *
 */
public abstract interface ReverseBillDao extends PagingAndSortingRepository<ReverseBill, Long>, JpaSpecificationExecutor<ReverseBill>
{

	@Query("select t from ReverseBill  t where t.billCode=?")
	ReverseBill loadByCode(String billCode);

}